Replication Archive for: Mikkelborg, Anna. (2024) "White Democrats' Growing Support for Black Politicians in the Era of the "Great Awokening""

# Contents

This replication archive contains the code and data necessary to reproduce the figures, tables, and in-text numbers in both the main text and in the supplementary materials.

Please note, I am unable to include the raw data from the experiments I summarize because those datasets belong to their respective study authors. Results in the paper and supplementary material report estimates derived using these datasets. Code to produce these tables and figures is found in 0_meta_analysis_figures.R.

This archive also includes the appendix to the paper, which lists the full wording of the survey items used in the analysis as well as details about each of the studies included in the meta-analysis.

# Data

## Change in public opinion over time

gss_yearmeans.csv: Aggregated data from the General Social Survey used to create Figure 1. The raw data are not included here due to the terms of use, but can be downloaded from gssdataexplorer.norc.org. Once downloaded, the data should be placed in the data/raw folder and labeled gss.csv to be read in by 1_clean.R. The data used for these analyses were downloaded on October 7, 2024. 

anes_yearmeans_blackinf.csv: Aggregated data from the American National Election Survey cumulative data file used to create Figure 1. The raw data are not included here due to the terms of use, but can be downloaded from electionstudies.org/data-center/anes-time-series-cumulative-data-file/. Once downloaded, the data should be placed in the data/raw folder to be read in by 1_clean.R. The data used for these analyses were downloaded on October 7, 2024. 

## Change in Black MCs over time

legislators/
  term-112.csv: data from EveryPolitician used to code MC race in 2010
  term-113.csv: data from EveryPolitician used to code MC race in 2012
  term-114.csv: data from EveryPolitician used to code MC race in 2014
  115th Congress Members Guide with Elections and Demographic Data by District.xlsx: data from the Daily Kos used to code district presidential vote shares in 2008 and 2012 as well as MC race and district CVAP percent white in 2016
  116th Congress Members Guide with Elections and Demographic Data by District.xlsx: data from the Daily Kos used to code MC race and district CVAP percent white in 2018
  117th Congress Members Guide with Elections and Demographic Data by District.xlsx: data from the Daily Kos used to code MC race and district CVAP percent white in 2020
  118th Congress Members Guide with Elections and Demographic Data by District.xlsx: data from the Daily Kos used to code MC race and district CVAP percent white in 2022
BAF 2010/
    BlockAssign_ST01_AL_CD.txt - BAF 2010/BlockAssign_ST56_WY_CD.txt: Census block group to congressional district crosswalk for 2010
National_CD114.txt: Census block to congressional district crosswalk for 2012 and 2014
cvap_blockgroup_2010.csv: congressional district CVAP percent white for 2010 (ACS 5-year estimate)
cvap_block_2012.csv: congressional district CVAP percent white for 2012 (ACS 5-year estimate)
cvap_block_2014.csv: congressional district CVAP percent white for 2014 (ACS 5-year estimate)
congress.csv: clean dataset used to create Figure 2, Figure 3, Table 2, and Appendix Table A1

## Meta-analysis

MMs_wvb_respracerespparty_main3_weighted.csv: marginal means across studies in meta-analysis by study x race x party group used to create Appendix Figure B1

## Original studies

genderageregionweights.csv: weights derived from the ANES and CCES for use in the meta-analysis and analysis of original surveys
study1.csv: anonymized data for original Lucid study 1
study2.csv: anonymized data for original Lucid study 2
study3.csv: anonymized data for original Lucid study 3
study4.csv: anonymized data for original Lucid study 4
study5.csv: anonymized data for original Lucid study 5
ca_omnibus.csv: anonymized data for California voter study
attitudesfigdat.csv: data used to generate Figure 6
attitudestab.csv: data used to generate Appendix Table C2
reparationsfig.csv: data used to generate Figure 7
reparationsfig_pvals.csv: data used to generate p-values in Figure 7
reparationstab.csv: data used to generate Appendix Table C3
ideo_mods.csv: data used to generate Figure 8
ideo_modsp.csv: data used to generate p-values in Figure 8
dat_ideo.csv: data used to generate Appendix Table C4
ideotab.csv: data used to generate Appendix Table C5
appx_conjoint_mms.csv: marginal means generated from original studies used to create Appendix Table B1
original_study_demographics.csv: demographics from original studies used to create Appendix Table B2
appx_demtab.csv: marginal means by participant demographics from original studies used to create Appendix Table B3

## Appendix analysis of campaign funding

SorensenChenPRQ.csv: dataset from Sorensen and Chen (2022) used to code campaign receipts
candidate_summary_2020.csv: data from the FEC used to code campaign receipts for 2020
candidate_summary_2022.csv: data from the FEC used to code campaign receipts for 2022
2020_dailykos_candidaterace.csv: data from the Daily Kos used to code candidate race in 2020
2022_dailykos_candidaterace.csv: data from the Daily Kos used to code candidate race in 2022
2020 primary candidates missing race: hand-coded file filling in missing candidate race from 2020
2022 primary candidates missing race.csv: hand-coded file filling in missing candidate race from 2022
1976-2020-housevotes.csv: data from the MIT election lab providing vote shares in Congressional elections
cook_house_ratings_stacked_2010-2022.csv: data from the Cook Political Report on the competitiveness of House races
SorensenChenPRQ_clean.csv: dataset used to create Appendix Table A2
id_shame_items_tab.xlsx: file listing survey items used to measure white identity, consciousness, guilt, and shame. Also lists mean and standard deviation of each item.

# Programs

master.R: Runs files 1_clean.R, 2_tables_and_figures.R, and 3_appendix_results.R

1_clean.R: Organizes datasets into formats necessary to produce figures and tables
2_tables_and_figures.R: Produces results from the main paper including Figures 1, 2, 3, 6, 7, and 8 and Table 2
3_appendix_results.R: Produces results in the appendix including Appendix Figures B1 and D1 and Appendix Tables A1, A2, B1, B2, B3, C2, C3, C4, C5, D1, D3, D4, and D5

0_meta_analysis_figures.R: Code to produce Figures 4 and 5, Appendix Figure B1, and Appendix Figures B4 and B5. This file should not be run as the raw data for each of the experiments included in the meta-analysis is not included in this replication package.
